package com.dancun.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2020-10-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Solve implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "sid",type = IdType.ASSIGN_ID)
    private String sid;

    private String name;

    @TableField("proContent")
    private String proContent;

    private String prodescript;

    private Integer issolve;

    private String pid;

    @TableField(exist = false)
    private Problem  problem;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProContent() {
        return proContent;
    }

    public void setProContent(String proContent) {
        this.proContent = proContent;
    }

    public String getProdescript() {
        return prodescript;
    }

    public void setProdescript(String prodescript) {
        this.prodescript = prodescript;
    }

    public Integer getIssolve() {
        return issolve;
    }

    public void setIssolve(Integer issolve) {
        this.issolve = issolve;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public Problem getProblem() {
        return problem;
    }

    public void setProblem(Problem problem) {
        this.problem = problem;
    }
}
